package com.symbio.ishenapi.background.controller;


import com.symbio.ishenapi.background.model.TmCallId;
import com.symbio.ishenapi.common.controller.BaseController;
import io.jboot.web.controller.annotation.RequestMapping;

import java.util.Date;

@RequestMapping("tmCallIdController")
public class TmCallIdController extends BaseController {


    /**
     * 保存callId
     */
    public void saveCallId(){
        TmCallId call = new TmCallId();
        call.setCreateTime(new Date());
        call.setStatus(1L);
        if(call.save()){
            renderError(40001);
        }else{
            renderError(40002);
        }
    }
}
